```vue
<template>
  <div class="not-found-page">
    <div class="decoration">
      <div class="circle circle-1"></div>
      <div class="circle circle-2"></div>
      <div class="circle circle-3"></div>
      <div class="floating" v-for="symbol in floatingSymbols" :key="symbol">
        {{ symbol }}
      </div>
    </div>

    <div class="container" ref="containerRef">
      <div class="error-code" ref="errorCodeRef" @click="changeColor">
        404
      </div>
      <h1 class="error-title">页面迷路了</h1>
      <p class="error-message">
        您要找的页面似乎在数字宇宙中迷失了方向。<br />
        别担心，即使是最先进的AI也会偶尔迷路。
      </p>
      <button class="btn" @click="goBack" :disabled="isRedirecting">
        {{ isRedirecting ? '正在返回...' : '返回' }}
      </button>
    </div>
  </div>
</template>

<script setup>
import { ref, onMounted, onUnmounted } from 'vue';
import { useRouter } from 'vue-router';

// 响应式数据
const containerRef = ref(null);
const errorCodeRef = ref(null);
const isRedirecting = ref(false);
const router = useRouter();

// 浮动符号
const floatingSymbols = ['?', '!', '#'];

// 鼠标移动视差效果
const handleMouseMove = (e) => {
  if (!containerRef.value) return;
  const x = (window.innerWidth - e.pageX) / 100;
  const y = (window.innerHeight - e.pageY) / 100;
  containerRef.value.style.transform = `translate(${x}px, ${y}px)`;
};

// 改变错误代码颜色
const changeColor = () => {
  if (!errorCodeRef.value) return;
  const hue = Math.floor(Math.random() * 360);
  errorCodeRef.value.style.color = `hsla(${hue}, 100%, 85%, 0.95)`;

  setTimeout(() => {
    if (errorCodeRef.value) {
      errorCodeRef.value.style.color = 'rgba(255, 255, 255, 0.95)';
    }
  }, 800);
};

// 返回首页
const goBack = () => {
  isRedirecting.value = true;
  setTimeout(() => {
    router.back();
  }, 800);
};

// 检测是否为触摸设备
const isTouchDevice = () => {
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0;
};

// 组件挂载
onMounted(() => {
  if (!isTouchDevice()) {
    window.addEventListener('mousemove', handleMouseMove);
  }
});

// 组件卸载
onUnmounted(() => {
  window.removeEventListener('mousemove', handleMouseMove);
});
</script>

<style lang="scss" scoped>
.not-found-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  overflow: hidden;
  position: relative;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  .container {
    text-align: center;
    z-index: 10;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
    transition: transform 0.1s ease;

    .error-code {
      font-size: 8rem;
      font-weight: 800;
      color: rgba(255, 255, 255, 0.95);
      text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
      margin-bottom: -1rem;
      position: relative;
      animation: pulse 2s infinite;
      line-height: 1;
      cursor: pointer;
      transition: color 0.3s ease;

      &::before {
        content: "404";
        position: absolute;
        top: 0;
        left: 0;
        color: transparent;
        text-shadow: 0 0 20px rgba(255, 100, 100, 0.8);
        z-index: -1;
        animation: glitch 3s infinite;
      }
    }

    .error-title {
      font-size: 1.8rem;
      color: white;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-weight: 600;
    }

    .error-message {
      font-size: 1rem;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .btn {
      display: inline-block;
      padding: 14px 25px;
      background: linear-gradient(45deg, #ff6b6b, #ff8e53);
      color: white;
      text-decoration: none;
      border-radius: 50px;
      font-weight: 600;
      letter-spacing: 1px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
      border: none;
      cursor: pointer;
      font-size: 1rem;
      width: 100%;
      max-width: 200px;
      margin: 0 auto;

      &:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
      }

      &:active:not(:disabled) {
        transform: translateY(1px);
      }

      &:disabled {
        opacity: 0.8;
        cursor: not-allowed;
      }
    }
  }

  .decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;

    .circle {
      position: absolute;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);

      &-1 {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
      }

      &-2 {
        width: 150px;
        height: 150px;
        bottom: -75px;
        left: -75px;
      }

      &-3 {
        width: 100px;
        height: 100px;
        top: 30%;
        left: 10%;
      }
    }

    .floating {
      position: absolute;
      font-size: 1.5rem;
      color: rgba(255, 255, 255, 0.1);
      animation: float 8s infinite ease-in-out;

      &:nth-child(1) {
        top: 15%;
        left: 8%;
        animation-delay: 0s;
      }

      &:nth-child(2) {
        top: 65%;
        right: 10%;
        animation-delay: 2s;
      }

      &:nth-child(3) {
        bottom: 25%;
        left: 15%;
        animation-delay: 4s;
      }
    }
  }

  // 动画定义
  @keyframes pulse {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.03);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes glitch {
    0% {
      transform: translate(0);
    }

    20% {
      transform: translate(-2px, 2px);
    }

    40% {
      transform: translate(-2px, -2px);
    }

    60% {
      transform: translate(2px, 2px);
    }

    80% {
      transform: translate(2px, -2px);
    }

    100% {
      transform: translate(0);
    }
  }

  @keyframes float {
    0% {
      transform: translateY(0) rotate(0deg);
    }

    50% {
      transform: translateY(-15px) rotate(5deg);
    }

    100% {
      transform: translateY(0) rotate(0deg);
    }
  }

  // 响应式设计
  @media (max-width: 480px) {
    .container {
      padding: 1.2rem;

      .error-code {
        font-size: 7rem;
      }

      .error-title {
        font-size: 1.5rem;
      }

      .error-message {
        font-size: 0.9rem;
      }
    }
  }

  @media (max-width: 360px) {
    .container {
      .error-code {
        font-size: 6rem;
      }

      .error-title {
        font-size: 1.3rem;
      }
    }
  }
}
</style>
```
